package com.linko.intelligent.sys.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.linko.intelligent.sys.pojo.dto.NoticeDto;
import com.linko.intelligent.sys.pojo.po.Notice;
import com.linko.intelligent.sys.pojo.query.NoticeQuery;

import java.util.List;

/**
 * @Author yuan
 * @create 2024/3/15 11:42
 */
public interface NoticeService extends IService<Notice> {

    public Long save(NoticeDto dto);

    public void saveList(List<NoticeDto> dtos);

    public Boolean delete(Long id);

    public Boolean update(Long id, NoticeDto dto);

    public Notice getDetail(Long id);

    public List<Notice> queryList(NoticeQuery query);

    public PageInfo<Notice> queryPage(NoticeQuery query);


}
